package com.bean.wechat;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;

//公众号与website相互绑定
@Entity
@Data
@Table(name = "wechat_website")
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
public class WechatWebsite {

    @Id
    private String id;

    private String wechatid;

    private String websiteuserid;//website 用户的id

    private LocalDateTime createtime;//绑定时间

}
